package com.woniu.swagger.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.sql.Timestamp;

@Data
@TableName("t_order")
public class Order {

    //主键id
    @TableId(type = IdType.AUTO)
    private int orderId;
    //订单价格
    private double orderPrice;
    //订单状态
    private String orderType;
    //用户id
    private int userId;
    //出行人id
    private int travelerId;
    //旅行团id
    private int tourId;
    //下单时间
    private Timestamp orderTime;
}
